package com.dhl.cloud.core.entity;

import com.dhl.cloud.common.Constants;

public class Role {
    // @ApiModelProperty("主键id")
    private Integer id;
    // @ApiModelProperty("租户id")
    private String tenantid;
    // @ApiModelProperty("角色名称")
    private String rolename;
    // @ApiModelProperty("角色描述")
    private String describle;
    // @ApiModelProperty("创建用户")
    private String username;
    // @ApiModelProperty("系统或自建")
    private Integer basetype = Constants.BASETYPE;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTenantid() {
        return tenantid;
    }

    public void setTenantid(String tenantid) {
        this.tenantid = tenantid == null ? null : tenantid.trim();
    }

    public String getRolename() {
        return rolename;
    }

    public void setRolename(String rolename) {
        this.rolename = rolename == null ? null : rolename.trim();
    }

    public String getDescrible() {
        return describle;
    }

    public void setDescrible(String describle) {
        this.describle = describle == null ? null : describle.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public Integer getBasetype() {
        return basetype;
    }

    public void setBasetype(Integer basetype) {
        this.basetype = basetype;
    }
}